home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re FW_PResource GetResourceHa < prev    next >
Encoding:
Internet Message Format  |  1996-07-29  |  616 b   |  [TEXT/ttxt]

  1. Subject:     Re: FW_PResource::GetResourceHandle()
  2. Sent:        7/19/96 5:10 PM
  3. Received:    7/19/96 4:41 PM
  4. From:        john paulson, paulson3@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8.   What alignment are you using?  If powerpc, there will be 2 bytes of 
  9. padding after the count field.  Resource compilers such as ODFRC/Rez 
  10. don't do alignment on long boundaries; you have to do that yourself.
  11.  
  12. munch
  13. >typedef struct
  14. >{
  15. >    unsigned short    count;
  16. >    Rect            r[1];
  17. >}    nrctResource;
  18. >typedef    nrctResource    **nrctHandle;
  19.